package com.fengye.lock.redis.service;

import com.fengye.lock.redis.domain.UserReg;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fengye.lock.redis.dto.UserDTO;

/**
 *
 */
public interface UserRegService extends IService<UserReg> {

    UserReg selectByUsername(String username);

    void userRegNoLock(UserDTO dto) throws Exception;

    void userRegWithLock(UserDTO dto) throws Exception;
}
